Instead of ‘login’ and ‘password’ use your credentials from https://app.dataforseo.com/api-dashboard
<?php // You can download this file from here https://cdn.dataforseo.com/v3/examples/php/php_RestClient.zip require('RestClient.php'); $api_url = 'https://api.dataforseo.com/'; try { // Instead of 'login' and 'password' use your credentials from https://app.dataforseo.com/api-dashboard $client = new RestClient($api_url, null, 'login', 'password'); } catch (RestClientException $e) { echo "n"; print "HTTP code: {$e->getHttpCode()}n"; print "Error code: {$e->getCode()}n"; print "Message: {$e->getMessage()}n"; print $e->getTraceAsString(); echo "n"; exit(); } try { $result = array(); // #1 - using this method you can get a list of completed tasks // GET /v3/serp/{{low_se_name}}/{{low_se_type}}/tasks_ready // in addition to '{{low_se_name}}' and '{{low_se_type}}' you can also set other search engine and type parameters // the full list of possible parameters is available in documentation $tasks_ready = $client->get('/v3/serp/{{low_se_name}}/{{low_se_type}}/tasks_ready'); // you can find the full list of the response codes here https://docs.dataforseo.com/v3/appendix/errors if (isset($tasks_ready['status_code']) AND $tasks_ready['status_code'] === 20000) { foreach ($tasks_ready['tasks'] as $task) { if (isset($task['result'])) { foreach ($task['result'] as $task_ready) { // #2 - using this method you can get results of each completed task // GET /v3/serp/{{low_se_name}}/{{low_se_type}}/task_get/advanced/$id if (isset($task_ready['endpoint_advanced'])) { $result[] = $client->get($task_ready['endpoint_advanced']); } // #3 - another way to get the task results by id // GET /v3/serp/{{low_se_name}}/{{low_se_type}}/task_get/advanced/$id /* if (isset($task_ready['id'])) { $result[] = $client->get('/v3/serp/{{low_se_name}}/{{low_se_type}}/task_get/advanced/' . $task_ready['id']); } */ } } } } print_r($result); // do something with result } catch (RestClientException $e) { echo "n"; print "HTTP code: {$e->getHttpCode()}n"; print "Error code: {$e->getCode()}n"; print "Message: {$e->getMessage()}n"; print $e->getTraceAsString(); echo "n"; } $client = null; ?>
The above command returns JSON structured like this:
{ "version": "0.1.20220414", "status_code": 20000, "status_message": "Ok.", "time": "0.1721 sec.", "cost": 0, "tasks_count": 1, "tasks_error": 0, "tasks": [ { "id": "04131428-2692-0139-1000-8e6bd9135c43", "status_code": 20000, "status_message": "Ok.", "time": "0.1029 sec.", "cost": 0, "result_count": 1, "path": [ "v3", "serp", "yahoo", "organic", "task_get", "advanced", "04131428-2692-0139-1000-8e6bd9135c43" ], "data": { "api": "serp", "function": "task_get", "se": "yahoo", "se_type": "organic", "language_code": "en", "location_name": "United States", "keyword": "hotels in New York", "device": "mobile", "postback_data": "advanced", "os": "android" }, "result": [ { "keyword": "hotels in New York", "type": "organic", "se_domain": "search.yahoo.com", "location_code": 2840, "language_code": "en", "check_url": "https://search.yahoo.com/search?p=hotels+in+New+York&n=100&vl=lang_en&vc=us&ei=UTF-8&va_vt=any&vo_vt=any&ve_vt=any&vp_vt=any&vst=0&vf=all&vm=i&fl=0&vs=", "datetime": "2022-04-13 11:28:37 +00:00", "spell": null, "item_types": [ "paid", "hotels_pack", "top_stories", "organic", "video", "images", "related_searches" ], "se_results_count": 0, "items_count": 137, "items": [ { "type": "paid", "rank_group": 1, "rank_absolute": 1, "position": "left", "xpath": "/html[1]/body[1]/div[2]/div[1]/section[1]/section[1]/section[1]", "title": "Upstate New York Resort - Official Site - Book Direct", "domain": "www.bing.com", "breadcrumb": "lakejoseph.com", "url": "https://www.bing.com/aclick?ld=e8HMXtl1AZGpAlHhSRSOCGxDVUCUxPLg52QjNbkAmB_d-SoRMS6NHpK1dMwRINYkDxigYYWog3688Msl5flwjNVOab3xQBtdWsSigX3zSEf4jd6v2l2vAi0B3igDTsnhm032vihMZf0medXKjJQgASeCysbVDxJ70ufX7N0bowj4AP4IkAurHQ2PvgsEdH359Tfx3WMA&u=aHR0cHMlM2ElMmYlMmZsYWtlam9zZXBoLmNvbSUyZiUzZnV0bV9zb3VyY2UlM2RiaW5nJTI2dXRtX21lZGl1bSUzZGNwYyUyNnV0bV9jYW1wYWlnbiUzZEJyYW5kJTI1MjBDYW1wYWlnbiUyNnV0bV90ZXJtJTNkaW5uJTI1MjBhdCUyNTIwbGFrZSUyNTIwam9zZXBoJTI1MjBuZXclMjUyMHlvcmslMjZ1dG1fY29udGVudCUzZEJyYW5k&rlid=a86a17710aad114732d47527b975a0b2/RK=2/RS=iYzUOJjAJ7r3ju2ccOgcffL.2fE-;_ylt=AwrT4abYs1ZivEoAfSxx.9w4;_ylu=Y29sbwNncTEEcG9zAzEEdnRpZAMEc2VjA292LXRvcA--?p=hotels+in+New+York&IG=0ad3e1a65d054f6fbe00000000d9a706", "highlighted": [ "New York", "in", "In" ], "extra": { "ad_aclk": null }, "description": "Find Your Perfect Room\nPet Friendly Options\nVIP Packages & Specials\nBreakfast is Included", "description_rows": null, "links": [ { "type": "ad_link_element", "title": "Snowshoeing & XC Skiing · Tesla Charging Station", "description": null, "url": "https://www.bing.com/aclick?ld=e8HMXtl1AZGpAlHhSRSOCGxDVUCUxPLg52QjNbkAmB_d-SoRMS6NHpK1dMwRINYkDxigYYWog3688Msl5flwjNVOab3xQBtdWsSigX3zSEf4jd6v2l2vAi0B3igDTsnhm032vihMZf0medXKjJQgASeCysbVDxJ70ufX7N0bowj4AP4IkAurHQ2PvgsEdH359Tfx3WMA&u=aHR0cHMlM2ElMmYlMmZsYWtlam9zZXBoLmNvbSUyZiUzZnV0bV9zb3VyY2UlM2RiaW5nJTI2dXRtX21lZGl1bSUzZGNwYyUyNnV0bV9jYW1wYWlnbiUzZEJyYW5kJTI1MjBDYW1wYWlnbiUyNnV0bV90ZXJtJTNkaW5uJTI1MjBhdCUyNTIwbGFrZSUyNTIwam9zZXBoJTI1MjBuZXclMjUyMHlvcmslMjZ1dG1fY29udGVudCUzZEJyYW5k&rlid=a86a17710aad114732d47527b975a0b2/RK=2/RS=iYzUOJjAJ7r3ju2ccOgcffL.2fE-;_ylt=AwrT4abYs1ZivEoAfyxx.9w4;_ylu=Y29sbwNncTEEcG9zAzEEdnRpZAMEc2VjA292LXRvcA--?p=hotels+in+New+York&IG=0ad3e1a65d054f6fbe00000000d9a706", "ad_aclk": null }, { "type": "ad_link_element", "title": "Amenities: Lovely Rooms, Pet Friendly Options, In Room Spa Services", "description": null, "url": "https://www.bing.com/aclick?ld=e8HMXtl1AZGpAlHhSRSOCGxDVUCUxPLg52QjNbkAmB_d-SoRMS6NHpK1dMwRINYkDxigYYWog3688Msl5flwjNVOab3xQBtdWsSigX3zSEf4jd6v2l2vAi0B3igDTsnhm032vihMZf0medXKjJQgASeCysbVDxJ70ufX7N0bowj4AP4IkAurHQ2PvgsEdH359Tfx3WMA&u=aHR0cHMlM2ElMmYlMmZsYWtlam9zZXBoLmNvbSUyZiUzZnV0bV9zb3VyY2UlM2RiaW5nJTI2dXRtX21lZGl1bSUzZGNwYyUyNnV0bV9jYW1wYWlnbiUzZEJyYW5kJTI1MjBDYW1wYWlnbiUyNnV0bV90ZXJtJTNkaW5uJTI1MjBhdCUyNTIwbGFrZSUyNTIwam9zZXBoJTI1MjBuZXclMjUyMHlvcmslMjZ1dG1fY29udGVudCUzZEJyYW5k&rlid=a86a17710aad114732d47527b975a0b2/RK=2/RS=iYzUOJjAJ7r3ju2ccOgcffL.2fE-;_ylt=AwrT4abYs1ZivEoAgCxx.9w4;_ylu=Y29sbwNncTEEcG9zAzEEdnRpZAMEc2VjA292LXRvcA--?p=hotels+in+New+York&IG=0ad3e1a65d054f6fbe00000000d9a706", "ad_aclk": null }, { "type": "ad_link_element", "title": "Find Your Perfect Room", "description": null, "url": "https://www.bing.com/aclick?ld=e8MkZMBR_1LbUu5onAJxVG1DVUCUw97C2s_u8xmKpzumEWsUzFVsMCywt383mUR3-OekX-Px8TJrd_SAglm95zLC4XAl_9fEj5lH5B8e03jC2-Mnotf47XnmRR9CVCmlD3G1oHKMXVNuyl_cLdnZlj5rGTMX-ENyEnrcu789p2Y4NI2l8qjZD5Rx8eT_WBQSKZgiCc_iSSnLy45sZLJSoG23Kciow&u=aHR0cHMlM2ElMmYlMmZsYWtlam9zZXBoLmNvbSUyZnVwc3RhdGUtbnktbG9kZ2luZyUzZnV0bV9zb3VyY2UlM2RiaW5nJTI2dXRtX21lZGl1bSUzZGNwYyUyNnV0bV9jYW1wYWlnbiUzZEJyYW5kJTI1MjBDYW1wYWlnbiUyNnV0bV90ZXJtJTNkaW5uJTI1MjBhdCUyNTIwbGFrZSUyNTIwam9zZXBoJTI1MjBuZXclMjUyMHlvcmslMjZ1dG1fY29udGVudCUzZEJyYW5k&rlid=e5271e270c4111f347b07c71bf9918d4/RK=2/RS=2oVr7TX97MzUlq332vYkPcJUAes-;_ylt=AwrT4abYs1ZivEoAgSxx.9w4;_ylu=Y29sbwNncTEEcG9zAzEEdnRpZAMEc2VjA292LXRvcA--?p=hotels+in+New+York&IG=0ad3e1a65d054f6fbe00000000d9a706", "ad_aclk": null }, { "type": "ad_link_element", "title": "Pet Friendly Options", "description": null, "url": "https://www.bing.com/aclick?ld=e8JF9lVzlgrbiGqaqIxTNj1zVUCUzVGJFJLVBK24VC05fJgG08qJuYtTQgCWmH0amcgiU0lPZu1h5WV-jOypzCiETf73KUpB8XmC0ec_X2AV0ac3WCDNT6q-xeUQxixjtsa8jPc6O1PedkEOSDql3eChNGqm_iQLwpZyRQ3p_fwkJK-IjRfOF35yRmPdBN_uduH-Glb4r5elRqE95ZRY3H1Lp_yTw&u=aHR0cHMlM2ElMmYlMmZsYWtlam9zZXBoLmNvbSUyZnBldC1mcmllbmRseSUzZnV0bV9zb3VyY2UlM2RiaW5nJTI2dXRtX21lZGl1bSUzZGNwYyUyNnV0bV9jYW1wYWlnbiUzZEJyYW5kJTI1MjBDYW1wYWlnbiUyNnV0bV90ZXJtJTNkaW5uJTI1MjBhdCUyNTIwbGFrZSUyNTIwam9zZXBoJTI1MjBuZXclMjUyMHlvcmslMjZ1dG1fY29udGVudCUzZEJyYW5k&rlid=f8a313195d08116372ec714feed0bd0b/RK=2/RS=J1b1ISn4OI2syEhE4Hob5b1ccqU-;_ylt=AwrT4abYs1ZivEoAgyxx.9w4;_ylu=Y29sbwNncTEEcG9zAzEEdnRpZAMEc2VjA292LXRvcA--?p=hotels+in+New+York&IG=0ad3e1a65d054f6fbe00000000d9a706", "ad_aclk": null }, { "type": "ad_link_element", "title": "VIP Packages & Specials", "description": null, "url": "https://www.bing.com/aclick?ld=e8OHVQizUvvEOUCDe2AMBtazVUCUzBEgVQ798ENI3IH-wGjmfz6Uc_29Z9_v33UjPrtVdB8ynMYYXBk89LAEYTHdjawtkNHYTFnyGid83S-AU5pXdHTpB1Pmt7P1YR0Sm0Jp0YxxVj7GMFP9mS5EK6DPs3uV8FCoFlNP4XXn6umASGQUWRWnonpU5ie_C3Aa9l9s6Vr-RNDHM_w3rGx3S3OpV4T54&u=aHR0cHMlM2ElMmYlMmZsYWtlam9zZXBoLmNvbSUyZmNhdHNraWxscy1ueS1nZXRhd2F5JTNmdXRtX3NvdXJjZSUzZGJpbmclMjZ1dG1fbWVkaXVtJTNkY3BjJTI2dXRtX2NhbXBhaWduJTNkQnJhbmQlMjUyMENhbXBhaWduJTI2dXRtX3Rlcm0lM2Rpbm4lMjUyMGF0JTI1MjBsYWtlJTI1MjBqb3NlcGglMjUyMG5ldyUyNTIweW9yayUyNnV0bV9jb250ZW50JTNkQnJhbmQ&rlid=c708dbeed87e16a3715eb9b86ba6f675/RK=2/RS=o1oU56jvgpApoqAPxNmrIjhIRzQ-;_ylt=AwrT4abYs1ZivEoAgixx.9w4;_ylu=Y29sbwNncTEEcG9zAzEEdnRpZAMEc2VjA292LXRvcA--?p=hotels+in+New+York&IG=0ad3e1a65d054f6fbe00000000d9a706", "ad_aclk": null }, { "type": "ad_link_element", "title": "Breakfast is Included", "description": null, "url": "https://www.bing.com/aclick?ld=e82PkaRnHMEFzAP5ApPpPbVzVUCUxuvUshgFQYMYT80CueS5MX0QBG04D6zbdC4i6h9xOD8XbL033pwy0c03_y6NbN5xHP26x3eKJwhmWKBVTAt2AKJucoqpDJl2-NfsfAwXkVMOU8geoAm4SanzBSN0nzL6eRgDMiWfJvX9T6CmltLTHEIYi3LjNrHKoI7ggtMtAhFN3NO39tTf5sBXjFMeItPbA&u=aHR0cHMlM2ElMmYlMmZsYWtlam9zZXBoLmNvbSUyZnVwc3RhdGUtbnktYmVkLWFuZC1icmVha2Zhc3QlM2Z1dG1fc291cmNlJTNkYmluZyUyNnV0bV9tZWRpdW0lM2RjcGMlMjZ1dG1fY2FtcGFpZ24lM2RCcmFuZCUyNTIwQ2FtcGFpZ24lMjZ1dG1fdGVybSUzZGlubiUyNTIwYXQlMjUyMGxha2UlMjUyMGpvc2VwaCUyNTIwbmV3JTI1MjB5b3JrJTI2dXRtX2NvbnRlbnQlM2RCcmFuZA&rlid=f43cb20ccb0411cb7497d05a78dcb261/RK=2/RS=H9rYPa2OhMDPzbfhfVu_c1hJQIk-;_ylt=AwrT4abYs1ZivEoAhCxx.9w4;_ylu=Y29sbwNncTEEcG9zAzEEdnRpZAMEc2VjA292LXRvcA--?p=hotels+in+New+York&IG=0ad3e1a65d054f6fbe00000000d9a706", "ad_aclk": null } ], "price": null, "rectangle": null }, { "type": "featured_snippet", "rank_group": 1, "rank_absolute": 1, "position": "left", "xpath": "/html[1]/body[1]/div[1]/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/ol[1]/li[1]", "domain": "www.youtube.com", "title": "8 KNOTS You Need to Know - How to tie knots that you will", "featured_title": null, "description": "8 KNOTS You Need to Know - How to tie knots that you will actually use. If playback doesn't begin shortly, try restarting your device. Videos you watch may be added to the TV's watch history and influence TV recommendations.", "timestamp": null, "url": "https://www.youtube.com/watch?v=0yfFo0-1u1M/RK=2/RS=mCIIOqrvJW54p2abfBYPW4xu.Wg-", "images": null, "table": null, "rectangle": null }, { "type": "hotels_pack", "rank_group": 1, "rank_absolute": 3, "position": "left", "xpath": "/html[1]/body[1]/div[2]/div[1]/section[1]/section[2]/section[1]/div[1]", "title": null, "date_from": null, "date_to": null, "items": [ { "type": "hotels_pack_element", "price": null, "title": "Distrikt Hotel New York City, Tapestry Collection by Hilton", "description": "342 W 40th St New York, NY 10018", "hotel_identifier": null, "domain": "www.hilton.com", "url": "https://www.hilton.com/en/hotels/nycdsup-distrikt-hotel-new-york-city/?SEO_id=YEXTN-AMER-UP-NYCDSUP&y_source=1_MTExNTc4MjMtNDYyLWxvY2F0aW9uLndlYnNpdGU=/RK=2/RS=4oMHrkJfuC_LaDGPe1Sh5TqwHw8-", "is_paid": false, "rating": null }, { "type": "hotels_pack_element", "price": null, "title": "Tba Nyc Times Square", "description": "340 W 40th St New York, NY 10018", "hotel_identifier": null, "domain": "www.staytba.com", "url": "https://www.staytba.com//RK=2/RS=gQiOOmp0.wAIXvoTDVjKYbC8FIQ-", "is_paid": false, "rating": null }, { "type": "hotels_pack_element", "price": null, "title": "The Knickerbocker Hotel", "description": "6 42nd St New York, NY 11232", "hotel_identifier": null, "domain": "www.theknickerbocker.com", "url": "http://www.theknickerbocker.com//RK=2/RS=nFQs0rAycXMbWtrTZ6FUVdGna58-", "is_paid": false, "rating": null } ], "rectangle": null }, { "type": "top_stories", "rank_group": 1, "rank_absolute": 4, "position": "left", "xpath": "/html[1]/body[1]/div[2]/div[1]/section[1]/section[2]/section[3]/div[1]", "title": null, "items": [ { "type": "top_stories_element", "source": "12 hours ago", "domain": "news.yahoo.com", "title": "10 Shot In Brooklyn + NY Lieutenant Gov. Brian Benjamin Arrested", "date": "12 hours ago", "amp_version": false, "timestamp": "2022-04-12 23:28:26 +00:00", "url": "https://news.yahoo.com/10-shot-brooklyn-ny-lieutenant-230444235.html/RK=2/RS=a_OgerGK4b7tXXvCd9hFmS_qiTc-", "image_url": null }, { "type": "top_stories_element", "source": "2 days ago", "domain": "news.yahoo.com", "title": "Woman who falsely accused Black teen of stealing her phone at NYC hotel makes plea deal", "date": "2 days ago", "amp_version": false, "timestamp": "2022-04-11 11:28:26 +00:00", "url": "https://news.yahoo.com/woman-falsely-accused-black-teen-224200796.html/RK=2/RS=px_jzCE_0h1RT8FEmaUXa4A6Xtg-", "image_url": null }, { "type": "top_stories_element", "source": "20 hours ago", "domain": "news.yahoo.com", "title": "'SoHo Karen' Pleads Guilty To Hate Crime Charge But Avoids Jail Time", "date": "20 hours ago", "amp_version": false, "timestamp": "2022-04-12 15:28:26 +00:00", "url": "https://news.yahoo.com/soho-karen-pleads-guilty-hate-154859149.html/RK=2/RS=nI3BOHROtTgixpGNemPRaCnxHQA-", "image_url": null }, { "type": "top_stories_element", "source": "1 day ago", "domain": "news.yahoo.com", "title": "‘SoHo Karen’ avoids prison for hate crime attack on Black teen in hotel", "date": "1 day ago", "amp_version": false, "timestamp": "2022-04-12 11:28:26 +00:00", "url": "https://news.yahoo.com/soho-karen-avoids-prison-hate-234004747.html/RK=2/RS=htj9Ygm8s7rNejoEIeHK6ZTmjL0-", "image_url": null }, { "type": "top_stories_element", "source": "15 hours ago", "domain": "www.yahoo.com", "title": "‘SoHo Karen’ Pleads Guilty To Hate Crime, Avoids Jail In Attack On Black Teen At NYC Hotel", "date": "15 hours ago", "amp_version": false, "timestamp": "2022-04-12 20:28:26 +00:00", "url": "https://www.yahoo.com/entertainment/soho-karen-pleads-guilty-hate-204303249.html/RK=2/RS=L7GzfNZzLuaVngJmTOXmdiQyY4Y-", "image_url": null }, { "type": "top_stories_element", "source": "22 hours ago", "domain": "www.yahoo.com", "title": "‘SoHo Karen’ Avoids Jail by Pleading Guilty to a Hate Crime", "date": "22 hours ago", "amp_version": false, "timestamp": "2022-04-12 13:28:26 +00:00", "url": "https://www.yahoo.com/lifestyle/soho-karen-wrongly-accused-black-134000470.html/RK=2/RS=Te6ndotqiPb2X7c29LMajZ0KtwE-", "image_url": null }, { "type": "top_stories_element", "source": "11 hours ago", "domain": "news.yahoo.com", "title": "Revealed: Video Threats & Slurs From Man Sought in New York Subway Attack", "date": "11 hours ago", "amp_version": false, "timestamp": "2022-04-13 00:28:26 +00:00", "url": "https://news.yahoo.com/man-sought-subway-attack-says-002233710.html/RK=2/RS=.A9RYkRPS10SJywATeRiMEDIcrE-", "image_url": null }, { "type": "top_stories_element", "source": "17 hours ago", "domain": "news.yahoo.com", "title": "Rachel Deloache Williams on believing con artist Anna Sorokin", "date": "17 hours ago", "amp_version": false, "timestamp": "2022-04-12 18:28:26 +00:00", "url": "https://news.yahoo.com/rachel-deloache-williams-believing-con-185100299.html/RK=2/RS=G3v9PS2JHk.flPZiOP2QLvb2eFk-", "image_url": null }, { "type": "top_stories_element", "source": "22 hours ago", "domain": "news.yahoo.com", "title": "NY Lt. Gov. Brian Benjamin arrested on bribery charges, resigns", "date": "22 hours ago", "amp_version": false, "timestamp": "2022-04-12 13:28:26 +00:00", "url": "https://news.yahoo.com/ny-lieutenant-governor-arrested-bribery-134643543.html/RK=2/RS=HLNhKquSzJvTTQC_YleOyB9Iwf4-", "image_url": null }, { "type": "top_stories_element", "source": "1 day ago", "domain": "news.yahoo.com", "title": "The woman who attacked a Black teen in a widely seen video pleaded guilty to a hate crime", "date": "1 day ago", "amp_version": false, "timestamp": "2022-04-12 11:28:26 +00:00", "url": "https://news.yahoo.com/woman-attacked-black-teen-widely-005040187.html/RK=2/RS=CKq6TedDwfR9EIU1tk7DuRppXjY-", "image_url": null } ], "rectangle": null }, { "type": "organic", "rank_group": 1, "rank_absolute": 6, "position": "left", "xpath": "/html[1]/body[1]/div[2]/div[1]/section[1]/section[3]/section[2]/section[1]", "domain": "www.expedia.com", "title": "Top New York Hotels from $127 (FREE cancellation on select ...", "url": "https://www.expedia.com/New-York-Hotels.d178293.Travel-Guide-Hotels/RK=2/RS=feUnJUaKrz2VTbua7E9DO8jRp80-", "cache_url": null, "related_search_url": null, "breadcrumb": "www.expedia.com … New York Vacation Packages", "is_image": false, "is_video": false, "is_featured_snippet": false, "is_malicious": false, "is_web_story": false, "description": "Book your hotel in New York and pay later with Expedia. Browse Expedia's selection of 5217 hotels and places to stay in New York. Find cheap deals and discount rates that...", "pre_snippet": null, "extended_snippet": null, "images": null, "amp_version": false, "rating": null, "price": null, "highlighted": null, "links": [ { "type": "link_element", "title": "Where is the best place for a stay in New York?", "description": "The Sherry Netherland is ranked highly by Expedia customers. This 4.5-star hotel offers a 24-hour fitness center and a snack bar/deli. It is locate...", "url": "https://www.expedia.com/New-York-Hotels.d178293.Travel-Guide-Hotels/RK=2/RS=feUnJUaKrz2VTbua7E9DO8jRp80-" }, { "type": "link_element", "title": "Which popular hotels in New York are known for their enhanced cleaning measures?", "description": "Hotel Riu Plaza New York Times Square is a 4-star hotel offering hand sanitizer for guests, social distancing measures, and enhanced cleaning. If y...", "url": "https://www.expedia.com/New-York-Hotels.d178293.Travel-Guide-Hotels/RK=2/RS=feUnJUaKrz2VTbua7E9DO8jRp80-" }, { "type": "link_element", "title": "What are some of the best vacation home rentals that New York has to offer?", "description": "Nannas Piano!! Recently Renovated Two Story In The Heart Of Queens - Close To Jfk Airport! 3 Bedroom Home: Visitors give good reviews to this New Y...", "url": "https://www.expedia.com/New-York-Hotels.d178293.Travel-Guide-Hotels/RK=2/RS=feUnJUaKrz2VTbua7E9DO8jRp80-" }, { "type": "link_element", "title": "If I need to cancel my hotel reservation in New York, will I receive a refund?", "description": "Yes! The majority of room reservations are fully refundable if cancelled before the hotel’s cancellation deadline, which often is within 24-48 hour...", "url": "https://www.expedia.com/New-York-Hotels.d178293.Travel-Guide-Hotels/RK=2/RS=feUnJUaKrz2VTbua7E9DO8jRp80-" }, { "type": "link_element", "title": "Where can I learn more about changing or cancelling my trip to New York?", "description": "To access more information about changing or cancelling your trip to New York, go to https://www.expedia.com/service/.", "url": "https://www.expedia.com/New-York-Hotels.d178293.Travel-Guide-Hotels/RK=2/RS=feUnJUaKrz2VTbua7E9DO8jRp80-" }, { "type": "link_element", "title": "What's the best budget-friendly accommodation in New York?", "description": "Based on reviews, ibis Styles New York LaGuardia Airport is a popular 3-star hotel for our travelers looking for an economical choice, and features...", "url": "https://www.expedia.com/New-York-Hotels.d178293.Travel-Guide-Hotels/RK=2/RS=feUnJUaKrz2VTbua7E9DO8jRp80-" }, { "type": "link_element", "title": "What's the best place to stay in Queens?", "description": "With 239 lodging options to choose from in this neighborhood, you're sure to find what you're looking for as you plan your trip. Based on Expedia c...", "url": "https://www.expedia.com/New-York-Hotels.d178293.Travel-Guide-Hotels/RK=2/RS=feUnJUaKrz2VTbua7E9DO8jRp80-" }, { "type": "link_element", "title": "What's a favorite place to stay in Midtown?", "description": "In this neighborhood, there are 655 lodging options for your stay, so you should find just want you want for your visit. Hotel Giraffe by Library H...", "url": "https://www.expedia.com/New-York-Hotels.d178293.Travel-Guide-Hotels/RK=2/RS=feUnJUaKrz2VTbua7E9DO8jRp80-" }, { "type": "link_element", "title": "What's the best place to stay for families in New York?", "description": "Baccarat Hotel and Residences New York is a top 5-star hotel on Expedia for families, and features an indoor pool and a restaurant. Other good choi...", "url": "https://www.expedia.com/New-York-Hotels.d178293.Travel-Guide-Hotels/RK=2/RS=feUnJUaKrz2VTbua7E9DO8jRp80-" }, { "type": "link_element", "title": "What's the best hotel for couples in New York?", "description": "Jet Luxury @ The Dominick is a favorite 5-star hotel for couples, and features premium bedding and 24-hour room service. Other good options for a r...", "url": "https://www.expedia.com/New-York-Hotels.d178293.Travel-Guide-Hotels/RK=2/RS=feUnJUaKrz2VTbua7E9DO8jRp80-" } ], "faq": null, "extended_people_also_search": null, "about_this_result": null, "related_result": null, "timestamp": null, "rectangle": null }, { "type": "video", "rank_group": 1, "rank_absolute": 10, "position": "left", "xpath": "/html[1]/body[1]/div[2]/div[1]/section[1]/section[3]/section[2]/section[5]", "items": [ { "type": "video_element", "source": "YouTube", "title": "Top 10 Luxury Hotels In New York City in 2019", "timestamp": "2019-03-30 00:00:00 +00:00", "url": "https://www.youtube.com/watch?v=sVxwYO7ZC_c&tit=Top+10+Luxury+Hotels+In+New+York+City+in+2019&l=430&vid=7bb8a26e86c5253c6a7757f186881929&sigr=9BnJXNHRSGR8&sigb=6PDNlDmf.7KV&sigt=qDSeFXlcEKdH&sigi=jPcCC_yS4QmZ" }, { "type": "video_element", "source": "YouTube", "title": "Inside Five of New York's Priciest Hotel Suites", "timestamp": "2015-06-30 00:00:00 +00:00", "url": "https://www.youtube.com/watch?v=47M0ZfZP7-4&tit=Inside+Five+of+New+York's+Priciest+Hotel+Suites&l=149&vid=8c50bac1b60447d2531958a478196a00&sigr=DMcbba5rje1a&sigb=6PDNlDmf.7KV&sigt=9mA2SlnR0KU1&sigi=Rjf2TH8zj4HK" }, { "type": "video_element", "source": "YouTube", "title": "Roosevelt Hotel Closing Latest Sign of NYC Tourism Trouble | NBC New York", "timestamp": "2020-10-12 00:00:00 +00:00", "url": "https://www.youtube.com/watch?v=SNkcLL0h5TQ&tit=Roosevelt+Hotel+Closing+Latest+Sign+of+NYC+Tourism+Trouble+%7C+NBC+New+York&l=181&vid=24de20eec3cad7b6cfe12617fa39a6f1&sigr=ASXKnL9g13W9&sigb=6PDNlDmf.7KV&sigt=UoWFr5IzDJh.&sigi=B5fmq_QVWzAz" }, { "type": "video_element", "source": "YouTube", "title": "Yotel Hotel Review Located in New York City", "timestamp": "2018-04-29 00:00:00 +00:00", "url": "https://www.youtube.com/watch?v=e6ThG7se-6s&tit=Yotel+Hotel+Review+Located+in+New+York+City&l=771&vid=345e60b8abfe78ab5cf403cfa406c2d9&sigr=gyphwlwsBN2Q&sigb=6PDNlDmf.7KV&sigt=37.43VNiHojf&sigi=Npx.XF9alfiy" }, { "type": "video_element", "source": "YouTube", "title": "Hotel Tour: The Millenium Hilton New York City, NY", "timestamp": "2015-11-01 00:00:00 +00:00", "url": "https://www.youtube.com/watch?v=svRr1CyTUYs&tit=Hotel+Tour:+The+Millenium+Hilton+New+York+City,+NY&l=592&vid=07b487261a44fa2fd25527c00907f35b&sigr=OUs1qBCgyl0g&sigb=6PDNlDmf.7KV&sigt=AxEyitV0IucK&sigi=xw.TDua8VHYh" }, { "type": "video_element", "source": "YouTube", "title": "Westgate New York Grand Central Hotel | Best Hotels In New York City", "timestamp": "2020-03-04 00:00:00 +00:00", "url": "https://www.youtube.com/watch?v=B8qv_SUfx_M&tit=Westgate+New+York+Grand+Central+Hotel+%7C+Best+Hotels+In+New+York+City&l=231&vid=3e089ef2618f5a3cf0f9278db47feb89&sigr=cWhn6.lZzKjZ&sigb=6PDNlDmf.7KV&sigt=W48c3Wfsj3lA&sigi=mM4H502meGYx" }, { "type": "video_element", "source": "YouTube", "title": "Inside the Most Expensive Hotel Room in New York City | WSJ", "timestamp": "2015-06-30 00:00:00 +00:00", "url": "https://www.youtube.com/watch?v=eaSdTJAYl6s&tit=Inside+the+Most+Expensive+Hotel+Room+in+New+York+City+%7C+WSJ&l=167&vid=accc1f369938fcdee480f9434eb28e8f&sigr=SNPFeVn3KPBw&sigb=6PDNlDmf.7KV&sigt=MnhYYBK.bhv9&sigi=Rh5nuGDp5jvs" }, { "type": "video_element", "source": "YouTube", "title": "Turning Empty New York City Hotels Into Affordable Homes | NBC New York", "timestamp": "2021-03-30 00:00:00 +00:00", "url": "https://www.youtube.com/watch?v=3kruGTDhxPk&tit=Turning+Empty+New+York+City+Hotels+Into+Affordable+Homes+%7C+NBC+New+York&l=218&vid=3edf16e50ab92637aabf3217bb8d78f4&sigr=.y01RAi9kfb0&sigb=6PDNlDmf.7KV&sigt=47qnIgF.WqPZ&sigi=WMkgPSdhcT5R" } ], "rectangle": null }, { "type": "images", "rank_group": 1, "rank_absolute": 13, "position": "left", "xpath": "/html[1]/body[1]/div[2]/div[1]/section[1]/section[3]/section[2]/section[8]", "title": "Images", "url": "https://images.search.yahoo.com/search/images;_ylt=AwrT4abYs1ZivEoA9yxx.9w4;_ylu=Y29sbwNncTEEcG9zAzIEdnRpZAMEc2VjA3Nj?p=hotels+in+New+York", "items": [ { "type": "images_element", "alt": "The Plaza Hotel: the Most Enviable Address in New York City", "url": "https://images.search.yahoo.com/images/view;_ylt=AwrT4abYs1ZivEoA.Cxx.9w4;_ylu=Y29sbwNncTEEcG9zAzIEdnRpZAMEc2VjA3Nj?p=hotels+in+New+York&back=https%3A%2F%2Fsearch.yahoo.com%2Fsearch%3Fp%3Dhotels%2Bin%2BNew%2BYork%26n%3D100%26ei%3DUTF-8%26va_vt%3Dany%26vo_vt%3Dany%26ve_vt%3Dany%26vp_vt%3Dany%26vst%3D0%26vf%3Dall%26vc%3Dus%26vm%3Di%26fl%3D0%26vl%3Dlang_en&no=1&h=1589&w=1300&imgurl=www.themilliardaire.co%2Fwp-content%2Fuploads%2F2014%2F10%2Fthe-plaza-hotel-new-york-20.jpg&rurl=https%3A%2F%2Fwww.themilliardaire.co%2Fhotspot%2Fthe-plaza-hotel-in-new-york-12582%2F&size=542KB&name=The+Plaza+Hotel%3A+the+Most+Enviable+Address+in+New+York+City&oid=OIP.fA-FnGGhoT3GOW__2_fvjgHaJD&tt=The+Plaza+Hotel%3A+the+Most+Enviable+Address+in+New+York+City&sigr=uOGqBNpFpwGF&sigi=QAw3ts3I0RLv&sigb=6PDNlDmf.7KV&sign=htiGdTxafkog&sigt=htiGdTxafkog", "image_url": "https://tse1.mm.bing.net/th?id=OIP.fA-FnGGhoT3GOW__2_fvjgHaJD&pid=Api&rs=1&c=1&qlt=95&w=81&h=100" }, { "type": "images_element", "alt": "The Top 15 Luxury Hotel Locations in 2012: #2 New York | Five Star Alliance", "url": "https://images.search.yahoo.com/images/view;_ylt=AwrT4abYs1ZivEoA.Sxx.9w4;_ylu=Y29sbwNncTEEcG9zAzIEdnRpZAMEc2VjA3Nj?p=hotels+in+New+York&back=https%3A%2F%2Fsearch.yahoo.com%2Fsearch%3Fp%3Dhotels%2Bin%2BNew%2BYork%26n%3D100%26ei%3DUTF-8%26va_vt%3Dany%26vo_vt%3Dany%26ve_vt%3Dany%26vp_vt%3Dany%26vst%3D0%26vf%3Dall%26vc%3Dus%26vm%3Di%26fl%3D0%26vl%3Dlang_en&no=1&h=1430&w=1000&imgurl=www.fivestaralliance.com%2Ffiles%2Ffsa%2Fnodes%2F2010%2F15030%2F15030_3_gansevoortparkavenue_fsa-g.jpg&rurl=https%3A%2F%2Fwww.fivestaralliance.com%2Fnew-york-ny%2Fthe-top-15-luxury-hotel-locations-in-2012-2-new-york&size=97KB&name=The+Top+15+Luxury+Hotel+Locations+in+2012%3A+%232+New+York+%7C+Five+Star+Alliance&oid=OIP.vAzq4YbYKn1zkMIKmroyRAHaKl&tt=The+Top+15+Luxury+Hotel+Locations+in+2012%3A+%232+New+York+%7C+Five+Star+Alliance&sigr=syzc95PGgCWe&sigi=q03rkZOTY4Jz&sigb=6PDNlDmf.7KV&sign=iIx0xWdugAJY&sigt=iIx0xWdugAJY", "image_url": "https://tse1.mm.bing.net/th?id=OIP.vAzq4YbYKn1zkMIKmroyRAHaKl&pid=Api&rs=1&c=1&qlt=95&w=70&h=100" }, { "type": "images_element", "alt": "The 10 Best Luxury Hotels in New York City - Hotels in Heaven", "url": "https://images.search.yahoo.com/images/view;_ylt=AwrT4abYs1ZivEoA.ixx.9w4;_ylu=Y29sbwNncTEEcG9zAzIEdnRpZAMEc2VjA3Nj?p=hotels+in+New+York&back=https%3A%2F%2Fsearch.yahoo.com%2Fsearch%3Fp%3Dhotels%2Bin%2BNew%2BYork%26n%3D100%26ei%3DUTF-8%26va_vt%3Dany%26vo_vt%3Dany%26ve_vt%3Dany%26vp_vt%3Dany%26vst%3D0%26vf%3Dall%26vc%3Dus%26vm%3Di%26fl%3D0%26vl%3Dlang_en&no=1&h=842&w=1500&imgurl=www.hotelsinheaven.com%2Fwp-content%2Fuploads%2F2020%2F06%2FAman-New-York-Exterior_High-Res_15490-1500x842.jpg&rurl=https%3A%2F%2Fwww.hotelsinheaven.com%2Ftop%2Fthe-10-best-luxury-hotels-in-new-york-city%2F&size=385KB&name=The+10+Best+Luxury+Hotels+in+New+York+City+-+Hotels+in+Heaven&oid=OIP.VUmb5Ysfn48EwDcnWj1MSQHaEK&tt=The+10+Best+Luxury+Hotels+in+New+York+City+-+Hotels+in+Heaven&sigr=6PrwpzPCsVXx&sigi=Q6SKPV4.qSUU&sigb=6PDNlDmf.7KV&sign=c_gPffR48HLU&sigt=c_gPffR48HLU", "image_url": "https://tse1.mm.bing.net/th?id=OIP.VUmb5Ysfn48EwDcnWj1MSQHaEK&pid=Api&rs=1&c=1&qlt=95&w=178&h=100" }, { "type": "images_element", "alt": "The St Regis New York- New York, NY Hotels- Deluxe Hotels in New York- GDS Reservation Codes ...", "url": "https://images.search.yahoo.com/images/view;_ylt=AwrT4abYs1ZivEoA.yxx.9w4;_ylu=Y29sbwNncTEEcG9zAzIEdnRpZAMEc2VjA3Nj?p=hotels+in+New+York&back=https%3A%2F%2Fsearch.yahoo.com%2Fsearch%3Fp%3Dhotels%2Bin%2BNew%2BYork%26n%3D100%26ei%3DUTF-8%26va_vt%3Dany%26vo_vt%3Dany%26ve_vt%3Dany%26vp_vt%3Dany%26vst%3D0%26vf%3Dall%26vc%3Dus%26vm%3Di%26fl%3D0%26vl%3Dlang_en&no=1&h=2667&w=4000&imgurl=www.cfmedia.vfmleonardo.com%2FimageRepo%2F7%2F0%2F108%2F616%2F447%2Fnycxr-exterior-1674-hor-clsc_O.jpg&rurl=https%3A%2F%2Fwww.travelagewest.com%2FHotels%2FNew-York-NY%2FThe-St-Regis-New-York-p50344762&size=1667KB&name=The+St+Regis+New+York-+New+York%2C+NY+Hotels-+Deluxe+Hotels+in+New+York-+GDS+Reservation+Codes+...&oid=OIP.WzokV_348GQHdSv0M5yxqQHaE8&tt=The+St+Regis+New+York-+New+York%2C+NY+Hotels-+Deluxe+Hotels+in+New+York-+GDS+Reservation+Codes+...&sigr=2PDqgKuwo4Bx&sigi=3Ug_bXqc4Eyp&sigb=6PDNlDmf.7KV&sign=4NQleHJNGvjU&sigt=4NQleHJNGvjU", "image_url": "https://tse1.mm.bing.net/th?id=OIP.WzokV_348GQHdSv0M5yxqQHaE8&pid=Api&rs=1&c=1&qlt=95&w=150&h=100" }, { "type": "images_element", "alt": "Arthouse Hotel New York City: 2019 Room Prices $94, Deals & Reviews | Expedia", "url": "https://images.search.yahoo.com/images/view;_ylt=AwrT4abYs1ZivEoA_Cxx.9w4;_ylu=Y29sbwNncTEEcG9zAzIEdnRpZAMEc2VjA3Nj?p=hotels+in+New+York&back=https%3A%2F%2Fsearch.yahoo.com%2Fsearch%3Fp%3Dhotels%2Bin%2BNew%2BYork%26n%3D100%26ei%3DUTF-8%26va_vt%3Dany%26vo_vt%3Dany%26ve_vt%3Dany%26vp_vt%3Dany%26vst%3D0%26vf%3Dall%26vc%3Dus%26vm%3Di%26fl%3D0%26vl%3Dlang_en&no=1&h=1000&w=787&imgurl=images.trvl-media.com%2Fhotels%2F1000000%2F20000%2F12200%2F12117%2F922bba74_z.jpg&rurl=https%3A%2F%2Fwww.expedia.com%2FNew-York-Hotels-NYLO-New-York-City.h12117.Hotel-Information&size=304KB&name=Arthouse+Hotel+New+York+City%3A+2019+Room+Prices+%2494%2C+Deals+%26amp%3B+Reviews+%7C+Expedia&oid=OIP.H-axIo-YspyTDRCkvIkXfQHaJa&tt=Arthouse+Hotel+New+York+City%3A+2019+Room+Prices+%2494%2C+Deals+%26amp%3B+Reviews+%7C+Expedia&sigr=TBZtHpS.PrUH&sigi=f1WRZUQCkjqM&sigb=6PDNlDmf.7KV&sign=Hq8xafhmvBny&sigt=Hq8xafhmvBny", "image_url": "https://tse1.mm.bing.net/th?id=OIP.H-axIo-YspyTDRCkvIkXfQHaJa&pid=Api&rs=1&c=1&qlt=95&w=78&h=100" }, { "type": "images_element", "alt": "The 40 Best Hotels in New York City - Photos - Condé Nast Traveler", "url": "https://images.search.yahoo.com/images/view;_ylt=AwrT4abYs1ZivEoA_Sxx.9w4;_ylu=Y29sbwNncTEEcG9zAzIEdnRpZAMEc2VjA3Nj?p=hotels+in+New+York&back=https%3A%2F%2Fsearch.yahoo.com%2Fsearch%3Fp%3Dhotels%2Bin%2BNew%2BYork%26n%3D100%26ei%3DUTF-8%26va_vt%3Dany%26vo_vt%3Dany%26ve_vt%3Dany%26vp_vt%3Dany%26vst%3D0%26vf%3Dall%26vc%3Dus%26vm%3Di%26fl%3D0%26vl%3Dlang_en&no=1&h=768&w=1024&imgurl=media.cntraveler.com%2Fphotos%2F53e2f811c2d3f39d3610cc47%2Fmaster%2Fpass%2Fnew-york-palace-exterior.jpg&rurl=https%3A%2F%2Fwww.cntraveler.com%2Fgalleries%2F2014-11-19%2Ftop-25-hotels-in-new-york-city-readers-choice-awards-2014&size=250KB&name=The+40+Best+Hotels+in+New+York+City+-+Photos+-+Cond%C3%A9+Nast+Traveler&oid=OIP.jzeL-0BA27JjkcpooicePgHaFj&tt=The+40+Best+Hotels+in+New+York+City+-+Photos+-+Cond%C3%A9+Nast+Traveler&sigr=oypd_ItQl4FD&sigi=uAelOmHb3L3i&sigb=6PDNlDmf.7KV&sign=19WQ3D9tY22W&sigt=19WQ3D9tY22W", "image_url": "https://tse1.mm.bing.net/th?id=OIP.jzeL-0BA27JjkcpooicePgHaFj&pid=Api&rs=1&c=1&qlt=95&w=133&h=100" }, { "type": "images_element", "alt": "Hotel Belleclaire in New York (Manhattan), New York - Kid-friendly Hotel Reviews | Trekaroo", "url": "https://images.search.yahoo.com/images/view;_ylt=AwrT4abYs1ZivEoA_ixx.9w4;_ylu=Y29sbwNncTEEcG9zAzIEdnRpZAMEc2VjA3Nj?p=hotels+in+New+York&back=https%3A%2F%2Fsearch.yahoo.com%2Fsearch%3Fp%3Dhotels%2Bin%2BNew%2BYork%26n%3D100%26ei%3DUTF-8%26va_vt%3Dany%26vo_vt%3Dany%26ve_vt%3Dany%26vp_vt%3Dany%26vst%3D0%26vf%3Dall%26vc%3Dus%26vm%3Di%26fl%3D0%26vl%3Dlang_en&no=1&h=683&w=1024&imgurl=api.trekaroo.com%2Fsystem%2Fphotos%2F244829%2Foriginal%2Fbelleclaire_hotel_upper_west_side.jpg%3F1510530354&rurl=https%3A%2F%2Fwww.trekaroo.com%2Fhotels%2Fhotel-belleclaire-new-york-manhattan-new-york&size=125KB&name=Hotel+Belleclaire+in+New+York+%28Manhattan%29%2C+New+York+-+Kid-friendly+Hotel+Reviews+%7C+Trekaroo&oid=OIP.BIZ-437MG-y7EFxu1S6O9wHaE8&tt=Hotel+Belleclaire+in+New+York+%28Manhattan%29%2C+New+York+-+Kid-friendly+Hotel+Reviews+%7C+Trekaroo&sigr=yXcTZWV41nWr&sigi=dgZCowLJLjUj&sigb=6PDNlDmf.7KV&sign=RyLxFRMtpEEz&sigt=RyLxFRMtpEEz", "image_url": "https://tse1.mm.bing.net/th?id=OIP.BIZ-437MG-y7EFxu1S6O9wHaE8&pid=Api&rs=1&c=1&qlt=95&w=150&h=100" }, { "type": "images_element", "alt": "10 Romantic Hotels in New York City to Check Into Now | Jetsetter", "url": "https://images.search.yahoo.com/images/view;_ylt=AwrT4abYs1ZivEoA_yxx.9w4;_ylu=Y29sbwNncTEEcG9zAzIEdnRpZAMEc2VjA3Nj?p=hotels+in+New+York&back=https%3A%2F%2Fsearch.yahoo.com%2Fsearch%3Fp%3Dhotels%2Bin%2BNew%2BYork%26n%3D100%26ei%3DUTF-8%26va_vt%3Dany%26vo_vt%3Dany%26ve_vt%3Dany%26vp_vt%3Dany%26vst%3D0%26vf%3Dall%26vc%3Dus%26vm%3Di%26fl%3D0%26vl%3Dlang_en&no=1&h=1433&w=1910&imgurl=www.jetsetter.com%2Fuploads%2Fsites%2F7%2F2018%2F04%2FK2ft14xp.jpeg&rurl=https%3A%2F%2Fwww.jetsetter.com%2Fmagazine%2Fromantic-hotels-in-new-york%2F&size=1470KB&name=10+Romantic+Hotels+in+New+York+City+to+Check+Into+Now+%7C+Jetsetter&oid=OIP.U42FrgbtYd2xLznnmHEV3wHaFj&tt=10+Romantic+Hotels+in+New+York+City+to+Check+Into+Now+%7C+Jetsetter&sigr=DHk7tHU9uhRq&sigi=lVsnZcijn.4X&sigb=6PDNlDmf.7KV&sign=S5GptQmrMBEH&sigt=S5GptQmrMBEH", "image_url": "https://tse1.mm.bing.net/th?id=OIP.U42FrgbtYd2xLznnmHEV3wHaFj&pid=Api&rs=1&c=1&qlt=95&w=133&h=100" }, { "type": "images_element", "alt": "NEW YORK HILTON MIDTOWN $143 ($̶3̶2̶9̶) - Updated 2020 Prices & Hotel Reviews - New York City ...", "url": "https://images.search.yahoo.com/images/view;_ylt=AwrT4abYs1ZivEoAAC1x.9w4;_ylu=Y29sbwNncTEEcG9zAzIEdnRpZAMEc2VjA3Nj?p=hotels+in+New+York&back=https%3A%2F%2Fsearch.yahoo.com%2Fsearch%3Fp%3Dhotels%2Bin%2BNew%2BYork%26n%3D100%26ei%3DUTF-8%26va_vt%3Dany%26vo_vt%3Dany%26ve_vt%3Dany%26vp_vt%3Dany%26vst%3D0%26vf%3Dall%26vc%3Dus%26vm%3Di%26fl%3D0%26vl%3Dlang_en&no=1&h=659&w=900&imgurl=dynamic-media-cdn.tripadvisor.com%2Fmedia%2Fphoto-o%2F1b%2F64%2Fed%2Fac%2Fexterior.jpg%3Fw%3D900%26h%3D-1%26s%3D1&rurl=https%3A%2F%2Fwww.tripadvisor.com%2FHotel_Review-g60763-d611947-Reviews-New_York_Hilton_Midtown-New_York_City_New_York.html&size=183KB&name=NEW+YORK+HILTON+MIDTOWN+%24143+%28%24%CC%B63%CC%B62%CC%B69%CC%B6%29+-+Updated+2020+Prices+%26amp%3B+Hotel+Reviews+-+New+York+City+...&oid=OIP.5FhwT6oH0A9ByP9_Sqly-AHaFb&tt=NEW+YORK+HILTON+MIDTOWN+%24143+%28%24%CC%B63%CC%B62%CC%B69%CC%B6%29+-+Updated+2020+Prices+%26amp%3B+Hotel+Reviews+-+New+York+City+...&sigr=EUYkR2AchTQl&sigi=x7oL3O4d6u9H&sigb=6PDNlDmf.7KV&sign=dxWdLInI6zEQ&sigt=dxWdLInI6zEQ", "image_url": "https://tse1.mm.bing.net/th?id=OIP.5FhwT6oH0A9ByP9_Sqly-AHaFb&pid=Api&rs=1&c=1&qlt=95&w=136&h=100" }, { "type": "images_element", "alt": "The Greenwich Hotel, Tribeca, New York – cheriecity.co.uk", "url": "https://images.search.yahoo.com/images/view;_ylt=AwrT4abYs1ZivEoAAS1x.9w4;_ylu=Y29sbwNncTEEcG9zAzIEdnRpZAMEc2VjA3Nj?p=hotels+in+New+York&back=https%3A%2F%2Fsearch.yahoo.com%2Fsearch%3Fp%3Dhotels%2Bin%2BNew%2BYork%26n%3D100%26ei%3DUTF-8%26va_vt%3Dany%26vo_vt%3Dany%26ve_vt%3Dany%26vp_vt%3Dany%26vst%3D0%26vf%3Dall%26vc%3Dus%26vm%3Di%26fl%3D0%26vl%3Dlang_en&no=1&h=932&w=700&imgurl=cheriecity.co.uk%2Fwp-content%2Fuploads%2F2012%2F05%2F30906324-H1-EXTERIOR2.jpg&rurl=http%3A%2F%2Fcheriecity.co.uk%2F2012%2F05%2F30%2Fthe-greenwich-hotel-tribeca-new-york%2F&size=342KB&name=The+Greenwich+Hotel%2C+Tribeca%2C+New+York+%E2%80%93+cheriecity.co.uk&oid=OIP.iqFBFYOIQQWYocIl_GgYTAHaJ3&tt=The+Greenwich+Hotel%2C+Tribeca%2C+New+York+%E2%80%93+cheriecity.co.uk&sigr=lyURilCvAXPm&sigi=OeSpquE64uov&sigb=6PDNlDmf.7KV&sign=yjduNa7a2JeL&sigt=yjduNa7a2JeL", "image_url": "https://tse1.mm.bing.net/th?id=OIP.iqFBFYOIQQWYocIl_GgYTAHaJ3&pid=Api&rs=1&c=1&qlt=95&w=75&h=100" } ], "related_image_searches": null, "rectangle": null }, { "type": "related_searches", "rank_group": 1, "rank_absolute": 57, "position": "left", "xpath": "/html[1]/body[1]/div[2]/div[1]/section[1]/section[3]/section[4]/section[1]/div[1]", "items": [ "best hotels in new york city", "hotels in new york times square", "best hotels in new york", "cheap hotels in new york", "new york hilton midtown", "hotels in new york city", "hotels in new york priceline", "hotels in new york careers", "hotels in new york map", "5 star hotels in new york" ], "rectangle": null }, { "type": "related_searches", "rank_group": 2, "rank_absolute": 73, "position": "left", "xpath": "/html[1]/body[1]/div[2]/div[1]/section[1]/section[1]/section[5]/section[1]/div[1]", "items": [ "best hotels in new york city", "hotels in new york times square", "best hotels in new york", "cheap hotels in new york", "new york hilton midtown", "hotels in new york city", "hotels in new york priceline", "hotels in new york careers", "hotels in new york map", "5 star hotels in new york" ], "rectangle": null }, { "type": "recipes", "rank_group": 1, "rank_absolute": 3, "position": "left", "xpath": "/html[1]/body[1]/div[1]/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/ol[1]/li[1]", "items": [ { "type": "recipes_element", "title": "Paella III", "url": "https://www.allrecipes.com/recipe/12878/paella-iii/", "domain": "www.allrecipes.com", "source": "Allrecipes", "description": "Delicious paella! You could add additional crab, scallops and mussels if you would like. Place them into the casserole dish during step #5.", "time": null, "rating": null }, { "type": "recipes_element", "title": "Paella", "url": "https://www.foodnetwork.com/recipes/michael-symon/paella-10071342", "domain": "www.foodnetwork.com", "source": "Food Network", "description": "I love to make paella! It is such a great dish for parties and can be done just as easily inside as outside. I also love that it teaches so much technique and timing. If you can master paella, there isn’t much you can’t cook!", "time": null, "rating": null }, { "type": "recipes_element", "title": "Stealth Paella", "url": "https://food52.com/recipes/21246-stealth-paella", "domain": "food52.com", "source": "Food52", "description": "Paella is one of those things you bring out and people are all, WHAT YOU MADE THIS?! Despite its status as a dramatic main course, paella is really easy, fairly quick, and - if you're not beholden to the idea that paella and Lobster Fest are one and the same - cheap. This version, inspired by Mark Bittman's Paella with Tomatoes from the New York Times, is mostly healthy and easy to tweak for vegetarians.", "time": null, "rating": null }, { "type": "recipes_element", "title": "Summer Paella", "url": "https://www.eatingwell.com/recipe/249469/summer-paella/", "domain": "www.eatingwell.com", "source": "EatingWell", "description": "Paella started as an outdoor dish. Grilling seafood, zesty sausage and vegetables before combining them with saffron-scented rice replicates that traditional character. Note that perfectly done paella rice will be dry and the slightest bit toothsome: it's not creamy or overly moist.", "time": null, "rating": null }, { "type": "recipes_element", "title": "Seafood Paella", "url": "https://food52.com/recipes/20903-seafood-paella", "domain": "food52.com", "source": "Food52", "description": "This Paella has to be the most satisfying thing I have ever cooked, and equally as simple to boot. Upon deciding to cook Paella I knew I had to collect some key equipment and ingredients. The most important tool for a paella is the Paella pan or Paellera. This pan has a large surface area and is particularly shallow; you can find a Paella pan in any good cookware store. I would recommend a pan with metal handles, so you don’t need to worry about burning wood or melting plastic while cooking your paella. The key ingredients that a Paella cannot do without are smoked paprika, saffron, raw chorizo (in my opinion) and of course the rice. The correct rice to use in a Paella is Bomba or Calasparra. Bomba is the ultimate Paella rice, being able to absorb triple its volume in liquid, however it can be hard to find. In my Paella I used Calasparra rice, which can hold twice its volume in liquid. If you use Bomba rice, you will need to adjust the amount of stock used. If you have difficulty finding the correct Spanish rice Arborio will do, however not preferable. The final and equally as important factor to consider when making a Paella is even heat to the entire pan. As my household did not have large enough gas burners I decided to use a Webber Barbeque with charcoal, you could use a gas barbeque/grill as long as the pan fits well and heat is evenly dispersed. Regarding the below recipe, feel free to mix and match seafood used, just remember to add them according to cooking times as you don’t want them over done. OK, enough with the background info, here’s what you’ll need:", "time": null, "rating": null }, { "type": "recipes_element", "title": "Paella I", "url": "https://www.allrecipes.com/recipe/12728/paella-i/", "domain": "www.allrecipes.com", "source": "Allrecipes", "description": "A very traditional paella, garnished with chorizo, chicken, peas, squid, mussels, and shrimp. Chorizo is a sausage spiced with garlic and chili powder; remove casing before cooking. A paella pan is recommended.", "time": null, "rating": null }, { "type": "recipes_element", "title": "Authentic Seafood Paella", "url": "https://www.allrecipes.com/recipe/228444/authentic-seafood-paella/", "domain": "www.allrecipes.com", "source": "Allrecipes", "description": "Paella is a classic Spanish dish of rice cooked with shellfish and seasoned with saffron. It is perfect for easy entertaining.", "time": null, "rating": null }, { "type": "recipes_element", "title": "Paella", "url": "https://food52.com/recipes/80890-perez-family-paella", "domain": "food52.com", "source": "Food52", "description": "Apparently paella is one of the top most difficult dishes to make at home. First, you think you need a special pan. Not so - I make it in the biggest frying pan I’ve got, all of 25cm, and it goes swimmingly. True, it’s not a party dish amount unless there’s four of you and really not very hungry. Second, what to throw into it? Pure form paella valenciana has rabbit or chicken in it OR the seafood mix – plus green beans, white beans, no onions. So guess what – the one below isn’t pure form. Third, how the hell do you get the toasted crunchy rice at the bottom called socarrat? It’s without question the best bit, without it, it’s ‘rice with things’, not paella. How do you? Easily – don’t stir. Or even DON’T STIR!!! And the last but not least difficult: say it properly. pah/EH/yah. You might get away with pie-yey-ah but never, ever pie-ella or you’ll be laughed all the way out of Barcelona.", "time": null, "rating": null }, { "type": "recipes_element", "title": "Paella Valenciana", "url": "https://www.foodandwine.com/recipes/paella-valenciana", "domain": "www.foodandwine.com", "source": "Food and Wine", "description": "Chef Way Seamus Mullen cooks the rice for this chicken-and-seafood paella as if it were risotto, adding chicken stock gradually.Easy Way Stir stock or canned chicken broth into the rice all at once and cook. More Spanish Recipes", "time": null, "rating": null } ], "rectangle": null }, { "type": "people_also_ask", "rank_group": 1, "rank_absolute": 12, "position": "left", "xpath": "/html[1]/body[1]/div[1]/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/ol[1]/li[10]", "items": [ { "type": "people_also_ask_element", "title": "What are some tips for making good paella?", "xpath": "/html[1]/body[1]/div[1]/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/ol[1]/li[10]/div[1]/div[2]/div[1]", "expanded_element": [ { "type": "people_also_ask_expanded_element", "featured_title": null, "url": "https://www.yummy.ph/lessons/cooking/tips-to-make-paella-a1984-20211219-lfrm/RK=2/RS=VKZu39k0kCGx2f3iAoB015dtEAA-", "domain": "www.yummy.ph", "title": "What are some tips for making good paella? - Quora", "description": "Use fresh ingredients,particularly seafood", "timestamp": null, "table": null } ] }, { "type": "people_also_ask_element", "title": "How to make authentic paella?", "xpath": "/html[1]/body[1]/div[1]/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/ol[1]/li[10]/div[1]/div[2]/div[2]", "expanded_element": [ { "type": "people_also_ask_expanded_element", "featured_title": null, "url": "https://www.saveur.com/how-to-make-ultimate-paella//RK=2/RS=Q1vH4t13fE_qeu6B5Hc2RBv0Io8-", "domain": "www.saveur.com", "title": "Authentic Spanish Seafood Paella Recipe - Spain on a Fork", "description": "Add rice and continue cooking for 2 minutes,then pour in stock,saffron,and tomatoes,bring to boil then reduce heat to a simmer and cover. ...", "timestamp": null, "table": null } ] }, { "type": "people_also_ask_element", "title": "What is the best pan for cooking paella?", "xpath": "/html[1]/body[1]/div[1]/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/ol[1]/li[10]/div[1]/div[2]/div[3]", "expanded_element": [ { "type": "people_also_ask_expanded_element", "featured_title": null, "url": "https://www.spainfoodsherpas.com/how-to-choose-the-right-paella-pan-all-you-need-to-know//RK=2/RS=3ljGRhZJPivlpVXDGYbf3elZkuk-", "domain": "www.spainfoodsherpas.com", "title": "How to Choose the Best Paella Pan for a Perfect Paella ...", "description": "- Mauviel 5277.4 M'Elite Paella pan – Editor’s Choice. Diameter: 15.7 in ... - Le Creuset L2064-3417 Enameled Cast Iron Paella Pan – Best for Restaurants. ... - Matfer Bourgeat 062052 Black Steel Paella Pan – Best Value. ... - La Ideal_Polished Steel Paella Pan. ... - Sertodo Copper PP-12 Alicante Paella Cooking Pan – Best Copper. ... - Garcima Carbon Steel Paella Pan", "timestamp": null, "table": null } ] }, { "type": "people_also_ask_element", "title": "How do you cook the traditional paella?", "xpath": "/html[1]/body[1]/div[1]/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/ol[1]/li[10]/div[1]/div[2]/div[4]", "expanded_element": [ { "type": "people_also_ask_expanded_element", "featured_title": null, "url": "https://www.thespruceeats.com/how-to-cook-the-perfect-paella-spanish-paella-rice-recipe-3083378/RK=2/RS=JzBF1q4HCnquBOQthG.IAwnSJAI-", "domain": "www.thespruceeats.com", "title": "Traditional Spanish Paella Recipe | MyRecipes", "description": "Combine the chicken stock with 4 cups water and set aside.", "timestamp": null, "table": null } ] } ], "rectangle": null }, { "type": "shopping", "rank_group": 1, "rank_absolute": 1, "position": "right", "xpath": "/html[1]/body[1]/div[1]/div[3]/div[1]/div[1]/div[2]/ol[1]/li[1]", "title": "Ads · Paella recipes", "items": [ { "type": "shopping_element", "title": "Paella Cookbook: Recipes For Champions Of The Spanish Cuisine", "price": { "current": 12.95, "regular": null, "max_value": null, "currency": "USD", "is_price_range": false, "displayed_price": "$12.95" }, "source": "Amazon.com", "description": "Amazon.com", "marketplace": null, "marketplace_url": null, "url": "https://www.bing.com/aclick?ld=e8zWFSh6LCh2lNmAXbOWgcjDVUCUxQE0pjSaD2cqLmcZncW8Ok2tXSNbJguV8FZJuZKNVhVnMcKzdhX82wqPZNaIeCpFx1RXtaMAJDFoW5A5-_TJcj80TaIiAWDNMFhHCnLWRX3WFRa0fab-PCk82HTwTvxkTGkwsfs0EFXWDJn_E-2qrToDlPtVL32UO3ve-lwVTLOA&u=aHR0cHMlM2ElMmYlMmZ3d3cuYW1hem9uLmNvbSUyZlBhZWxsYS1Db29rYm9vay1SZWNpcGVzLUNoYW1waW9ucy1TcGFuaXNoJTJmZHAlMmZCMDhXUDJCRlNYJTJmcmVmJTNkYXNjX2RmX0IwOFdQMkJGU1glM2Z0YWclM2RiaW5nc2hvcHBpbmdhLTIwJTI2bGlua0NvZGUlM2RkZjAlMjZodmFkaWQlM2Q4MDQ3MDYyNjc2MTYyOSUyNmh2bmV0dyUzZG8lMjZodnFtdCUzZGUlMjZodmJtdCUzZGJlJTI2aHZkZXYlM2RjJTI2aHZsb2NpbnQlM2QlMjZodmxvY3BoeSUzZCUyNmh2dGFyZ2lkJTNkcGxhLTQ1ODQwNzAxNTY0NjM1NTAlMjZwc2MlM2Qx&rlid=51b75a2c6181111ed99e387ad4551d83/RK=2/RS=mUzJAsm0XWJXD05GqVozM9XpzGU-;_ylt=Awr9DsvUtVZi8fUAfIBXNyoA;_ylu=Y29sbwNncTEEcG9zAzEEdnRpZANMT0NVSTAzN0JfMQRzZWMDb3YtZWFzdC1wbGE-?IG=0afd0ecb62a946099d00000000cc9d68" }, { "type": "shopping_element", "title": "La Paella: Recipes For Delicious Spanish Rice And Noodle Dishes", "price": { "current": 9.59, "regular": null, "max_value": null, "currency": "USD", "is_price_range": false, "displayed_price": "$9.59" }, "source": "Amazon.com", "description": "Amazon.com", "marketplace": null, "marketplace_url": null, "url": "https://www.bing.com/aclick?ld=e84-5dRkRCwOitq9QD_ObqNDVUCUyxZi-PZFrHRJHvbsJFqjE2qCXeYBIkFAvnCx5fnodI44j2mnHia0Sdpcpv9zygwWpjgn4WNvAQTA5VwKp6BxI0Ghy921xtKdaiku2-zvTL_gmmqzcz7qMdQx38rG3a8R9OROHeXzJgLDdeJP8d7YG11RdJX85p5qnuQwT-bb4O3A&u=aHR0cHMlM2ElMmYlMmZ3d3cuYW1hem9uLmNvbSUyZlBhZWxsYS1SZWNpcGVzLWRlbGljaW91cy1TcGFuaXNoLW5vb2RsZSUyZmRwJTJmMTc4ODc5MjM2WCUyZnJlZiUzZGFzY19kZl8xNzg4NzkyMzZYJTNmdGFnJTNkYmluZ3Nob3BwaW5nYS0yMCUyNmxpbmtDb2RlJTNkZGYwJTI2aHZhZGlkJTNkODAyNjQ0NTg5MTcyODglMjZodm5ldHclM2RvJTI2aHZxbXQlM2RlJTI2aHZibXQlM2RiZSUyNmh2ZGV2JTNkYyUyNmh2bG9jaW50JTNkJTI2aHZsb2NwaHklM2QlMjZodnRhcmdpZCUzZHBsYS00NTgzODYzOTg5ODIwNzM0JTI2cHNjJTNkMQ&rlid=516769a0c9b814aaef150bf67c6c87ae/RK=2/RS=EFu2_vRpGxSYzyF.K7Awj1lZhgs-;_ylt=Awr9DsvUtVZi8fUAfoBXNyoA;_ylu=Y29sbwNncTEEcG9zAzIEdnRpZANMT0NVSTAzN0JfMQRzZWMDb3YtZWFzdC1wbGE-?IG=0afd0ecb62a946099d00000000cc9d68" } ], "rectangle": null }, { "type": "local_pack", "rank_group": 1, "rank_absolute": 4, "position": "left", "xpath": "/html[1]/body[1]/div[1]/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/ol[1]/li[1]/div[1]/ul[2]/li[1]", "title": "PizzArte", "description": "A \nPizzArte Pizza · $$ · Closed · 1170 on Yelp 69 W 55th St , New York, NY · Website In-Store Pickup · Delivery \n\n", "domain": "slicelife.com", "phone": "(212) 247-3936", "url": "https://slicelife.com/restaurants/ny/new-york/10019/pizzarte/menu?utm_source=slice_m2022/RK=2/RS=1OFl3nogevL0wZpR1pWwhzsalkY-", "is_paid": false, "rating": null, "cid": "99660059", "rectangle": null }, { "type": "local_pack", "rank_group": 2, "rank_absolute": 5, "position": "left", "xpath": "/html[1]/body[1]/div[1]/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/ol[1]/li[1]/div[1]/ul[2]/li[2]", "title": "Fresco's Pizzeria", "description": "B \nFresco's Pizzeria Pizza · $ · Open · 219 on Yelp 804 W 187th St , New York, NY · Website Delivery \n\n", "domain": "www.frescospizzeria.com", "phone": "(212) 740-2737", "url": "http://www.frescospizzeria.com//RK=2/RS=clivLiyST3PQdcCOVqS_x3tpgXs-", "is_paid": false, "rating": null, "cid": "191506180", "rectangle": null } ] } ] } ] }
Description of the fields for sending a request:
Field name | Type | Description |
---|---|---|
id |
string | task identifier unique task identifier in our system in the UUID format you will be able to use it within 30 days to request the results of the task at any time |
As a response of the API server, you will receive JSON-encoded data containing a tasks
array with the information specific to the set tasks.
You can also get all available SERP features and possible extra elements by making a request to the following Sandbox URL:
https://sandbox.dataforseo.com/v3/serp/yahoo/organic/task_get/advanced/00000000-0000-0000-0000-000000000000
The response will include all available items in the Yahoo Organic SERP Advanced endpoint with the fields containing dummy data.
You won’t be charged for using Sandbox endpoints.
Description of the fields in the results array:
Field name | Type | Description |
---|---|---|
version |
string | the current version of the API |
status_code |
integer | general status code you can find the full list of the response codes here Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions |
status_message |
string | general informational message you can find the full list of general informational messages here |
time |
string | execution time, seconds |
cost |
float | total tasks cost, USD |
tasks_count |
integer | the number of tasks in the tasks array |
tasks_error |
integer | the number of tasks in the tasks array returned with an error |
tasks |
array | array of tasks |
id |
string | task identifier unique task identifier in our system in the UUID format |
status_code |
integer | status code of the task generated by DataForSEO; can be within the following range: 10000-60000 you can find the full list of the response codes here |
status_message |
string | informational message of the task you can find the full list of general informational messages here |
time |
string | execution time, seconds |
cost |
float | cost of the task, USD |
result_count |
integer | number of elements in the result array |
path |
array | URL path |
data |
object | contains the same parameters that you specified in the POST request |
result |
array | array of results |
keyword |
string | keyword received in a POST array the keyword is returned with decoded %## (plus symbol ‘+’ will be decoded to a space character) |
type |
string | search engine type in a POST array |
se_domain |
string | search engine domain in a POST array |
location_code |
integer | location code in a POST array |
language_code |
string | language code in a POST array |
check_url |
string | direct URL to search engine results you can use it to make sure that we provided accurate results |
datetime |
string | date and time when the result was received in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00 |
spell |
object | autocorrection of the search engine if the search engine provided results for a keyword that was corrected, we will specify the keyword corrected by the search engine and the type of autocorrection |
keyword |
string | keyword obtained as a result of search engine autocorrection the results will be provided for the corrected keyword |
type |
string | type of autocorrection possible values: did_you_mean , showing_results_for , no_results_found_for , including_results_for |
item_types |
array | types of search results in SERP contains types of search results ( items ) found in SERP.possible item types: featured_snippet , images , local_pack , hotels_pack , organic , paid , people_also_ask , related_searches , shopping , recipes , top_stories , video |
se_results_count |
integer | total number of results in SERP |
items_count |
integer | the number of results returned in the items array |
items |
array | elements of search results found in SERP |
‘organic’ element in SERP | ||
type |
string | type of element = ‘organic’ |
rank_group |
integer | group rank in SERP position within a group of elements with identical type valuespositions of elements with different type values are omitted from rank_group |
rank_absolute |
integer | absolute rank in SERP absolute position among all the elements in SERP |
position |
string | the alignment of the element in SERP can take the following values: left , right |
xpath |
string | the XPath of the element |
domain |
string | domain in SERP |
title |
string | title of the result in SERP |
url |
string | relevant URL in SERP |
cache_url |
string | cached version of the page |
related_search_url |
string | URL to a similar search URL to a new search for the same keyword(s) on related sites |
breadcrumb |
string | breadcrumb in SERP |
is_image |
boolean | indicates whether the element contains an image |
is_video |
boolean | indicates whether the element contains a video |
is_featured_snippet |
boolean | indicates whether the element is a featured_snippet |
is_malicious |
boolean | indicates whether the element is marked as malicious |
is_web_story |
boolean | indicates whether the element is marked as a web story |
description |
string | description of the results element in SERP |
pre_snippet |
string | includes additional information appended before the result description in SERP |
extended_snippet |
string | includes additional information appended after the result description in SERP |
images |
array | images of the element |
type |
string | type of element = ‘images_element‘ |
alt |
string | alt tag of the image |
url |
string | relevant URL |
image_url |
string | URL of the image the URL leading to the image on the original resource or DataForSEO storage (in case the original source is not available) |
amp_version |
boolean | Accelerated Mobile Pages indicates whether an item has the Accelerated Mobile Page (AMP) version |
rating |
object | the item’s rating the popularity rate based on reviews and displayed in SERP |
rating_type |
string | the type of rating here you can find the following elements: Max5 , Percents , CustomMax |
value |
float | the value of the rating |
votes_count |
integer | the amount of feedback |
rating_max |
integer | the maximum value for a rating_type |
price |
object | pricing details contains the pricing details of the product or service featured in the result |
current |
float | current price indicates the current price of the product or service featured in the result |
regular |
float | regular price indicates the regular price of the product or service with no discounts applied |
max_value |
float | the maximum price the maximum price of the product or service as indicated in the result |
currency |
string | currency of the listed price ISO code of the currency applied to the price |
is_price_range |
boolean | price is provided as a range indicates whether a price is provided in a range |
displayed_price |
string | price string in the result raw price string as provided in the result |
highlighted |
array | words highlighted in bold within the results description |
links |
array | sitelinks the links shown below some of the search results if there are none, equals null |
type |
string | type of element = ‘link_element‘ |
title |
string | title of the result in SERP |
description |
string | description of the results element in SERP |
url |
string | sitelink URL |
faq |
object | frequently asked questions questions and answers extension shown below some of the search results if there are none, equals null |
type |
string | type of element = ‘faq_box‘ |
items |
array | items featured in the faq_box |
type |
string | type of element = ‘faq_box_element‘ |
title |
string | question related to the result |
description |
string | answer provided in the drop-down block |
links |
array | links featured in the faq_box_element |
type |
string | type of element = ‘link_element‘ |
title |
string | link anchor text |
url |
string | link URL |
extended_people_also_search |
array | extension of the organic element extension of the organic result containing related search queries Note: extension appears in SERP upon clicking on the result and then bouncing back to search results |
about_this_result |
object | contains information from the ‘About this result’ panel note: about_this_result feature is not available in Yahoo search engine, that’s why it always equals null |
related_result |
array | related result from the same domain related result from the same domain appears as a part of the main result snippet; note: related_result feature is not available in Yahoo search engine, that’s why it always equals null |
rectangle |
object | rectangle parameters contains cartesian coordinates and pixel dimensions of the result’s snippet in SERP note: calculate_rectangles parameter is not yet available when setting tasks for Yahoo search engine, that’s why rectangle always equals null |
x |
float | x-axis coordinate x-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
y |
float | y-axis coordinate y-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
width |
float | width of the element in pixels |
height |
float | height of the element in pixels |
‘paid’ element in SERP | ||
type |
string | type of element = ‘paid’ |
rank_group |
integer | group rank in SERP position within a group of elements with identical type valuespositions of elements with different type values are omitted from rank_group |
rank_absolute |
integer | absolute rank in SERP absolute position among all the elements in SERP |
position |
string | the alignment of the element in SERP can take the following values: left , right |
xpath |
string | the XPath of the element |
domain |
string | domain in SERP of the Ad element |
description |
string | description of the results element in SERP |
title |
string | title of the result in SERP |
url |
string | relevant URL of the Ad element in SERP |
breadcrumb |
string | breadcrumb of the Ad element in SERP |
highlighted |
array | words highlighted in bold within the results description |
extra |
object | additional information about the result |
ad_aclk |
string | the identifier of the ad |
description |
string | description of the results element in SERP |
description_rows |
array | extended description if there is none, equals null |
links |
array | sitelinks the links shown below some of the search results if there are none, equals null |
type |
string | type of element = ‘link_element‘ |
title |
string | title of the link element |
description |
string | description of the results element in SERP |
url |
string | URL link |
ad_aclk |
string | the identifier of the ad |
price |
object | pricing details contains the pricing details of the product or service featured in the result |
current |
float | current price indicates the current price of the product or service featured in the result |
regular |
float | regular price indicates the regular price of the product or service with no discounts applied |
max_value |
float | the maximum price the maximum price of the product or service as indicated in the result |
currency |
string | currency of the listed price ISO code of the currency applied to the price |
is_price_range |
boolean | price is provided as a range indicates whether a price is provided in a range |
displayed_price |
string | price string in the result raw price string as provided in the result |
rectangle |
object | rectangle parameters contains cartesian coordinates and pixel dimensions of the result’s snippet in SERP note: calculate_rectangles parameter is not yet available when setting tasks for Yahoo search engine, that’s why rectangle always equals null |
x |
float | x-axis coordinate x-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
y |
float | y-axis coordinate y-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
width |
float | width of the element in pixels |
height |
float | height of the element in pixels |
‘images’ element in SERP | ||
type |
string | type of element = ‘images’ |
rank_group |
integer | group rank in SERP position within a group of elements with identical type valuespositions of elements with different type values are omitted from rank_group |
rank_absolute |
integer | absolute rank in SERP absolute position among all the elements in SERP |
position |
string | the alignment of the element in SERP can take the following values: left , right |
xpath |
string | the XPath of the element |
title |
string | title of the result in SERP |
url |
string | relevant URL |
items |
array | additional items present in the element if there are none, equals null |
type |
string | type of element = ‘images_element‘ |
alt |
string | alt tag of the image |
url |
string | original URL of the image the URL leading to the image on the original resource |
image_url |
string | URL to the compressed image the URL leading to the image on DataForSEO storage |
related_image_searches |
array | contains keywords and images related to the specified search term if there are none, equals null |
type |
string | type of element = ‘related_image_searches_element‘ |
title |
string | title of the element indicates keyword that may be used with the specified term to refine image search |
alt |
string | alt tag of the featured image |
url |
string | original URL of the featured image the URL leading to the image on the original resource |
image_url |
string | URL to the compressed featured image the URL leading to the image on DataForSEO storage |
rectangle |
object | rectangle parameters contains cartesian coordinates and pixel dimensions of the result’s snippet in SERP note: calculate_rectangles parameter is not yet available when setting tasks for Yahoo search engine, that’s why rectangle always equals null |
x |
float | x-axis coordinate x-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
y |
float | y-axis coordinate y-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
width |
float | width of the element in pixels |
height |
float | height of the element in pixels |
‘video’ element in SERP | ||
type |
string | type of element = ‘video’ |
rank_group |
integer | group rank in SERP position within a group of elements with identical type valuespositions of elements with different type values are omitted from rank_group |
rank_absolute |
integer | absolute rank in SERP absolute position among all the elements in SERP |
position |
string | the alignment of the element in SERP can take the following values: left , right |
xpath |
string | the XPath of the element |
items |
array | additional items present in the element if there are none, equals null |
type |
string | type of element = ‘video_element‘ |
source |
string | source of the element indicates the source of the video |
title |
string | title of the result in SERP |
timestamp |
string | date and time when the result was published in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00 |
url |
string | URL |
rectangle |
object | rectangle parameters contains cartesian coordinates and pixel dimensions of the result’s snippet in SERP note: calculate_rectangles parameter is not yet available when setting tasks for Yahoo search engine, that’s why rectangle always equals null |
x |
float | x-axis coordinate x-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
y |
float | y-axis coordinate y-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
width |
float | width of the element in pixels |
height |
float | height of the element in pixels |
‘shopping’ element in SERP | ||
type |
string | type of element = ‘shopping’ |
rank_group |
integer | group rank in SERP position within a group of elements with identical type valuespositions of elements with different type values are omitted from rank_group |
rank_absolute |
integer | absolute rank in SERP absolute position among all the elements in SERP |
position |
string | the alignment of the element in SERP can take the following values: left , right |
xpath |
string | the XPath of the element |
title |
string | title of the result in SERP |
items |
array | additional items present in the element if there are none, equals null |
type |
string | type of element = ‘shopping_element‘ |
title |
string | title of the result in SERP |
price |
object | price of the shopping element |
current |
float | current price indicates the current price of the shopping element |
regular |
float | regular price indicates the regular price of the shopping element |
max_value |
float | the maximum price indicates the maximum price of the shopping element |
currency |
string | currency of the listed price ISO code of the currency applied to the price |
is_price_range |
boolean | price is provided as a range indicates whether a price is provided in a range |
displayed_price |
string | price string in the result raw price string as provided in the result |
source |
string | source of the element indicates the source of information included in the shopping_element |
description |
string | the description of the results element in SERP |
marketplace |
string | merchant account provider commerce site that hosts products or websites of individual sellers under the same merchant account |
marketplace_url |
string | relevant marketplace URL URL of the page on the marketplace website where the product is hosted |
url |
string | URL |
rectangle |
object | rectangle parameters contains cartesian coordinates and pixel dimensions of the result’s snippet in SERP note: calculate_rectangles parameter is not yet available when setting tasks for Yahoo search engine, that’s why rectangle always equals null |
x |
float | x-axis coordinate x-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
y |
float | y-axis coordinate y-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
width |
float | width of the element in pixels |
height |
float | height of the element in pixels |
‘featured_snippet’ element in SERP | ||
type |
string | type of element = ‘featured_snippet’ |
rank_group |
integer | group rank in SERP position within a group of elements with identical type valuespositions of elements with different type values are omitted from rank_group |
rank_absolute |
integer | absolute rank in SERP absolute position among all the elements in SERP |
position |
string | the alignment of the element in SERP can take the following values: left , right |
xpath |
string | the XPath of the element |
domain |
string | domain in SERP |
title |
string | title of the result in SERP |
featured_title |
string | the title of the featured snippets source page |
description |
string | description of the results element in SERP |
timestamp |
string | date and time when the result was published in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00 |
url |
string | relevant URL |
images |
array | images of the element |
type |
string | type of element = ‘images_element‘ |
alt |
string | alt tag of the image |
url |
string | relevant URL |
image_url |
string | URL of the image the URL leading to the image on the original resource or DataForSEO storage (in case the original source is not available) |
table |
object | results table if there are none, equals null |
table_header |
array | column names |
table_content |
array | the content of the table one line of the table in this element of the array |
rectangle |
object | rectangle parameters contains cartesian coordinates and pixel dimensions of the result’s snippet in SERP note: calculate_rectangles parameter is not yet available when setting tasks for Yahoo search engine, that’s why rectangle always equals null |
x |
float | x-axis coordinate x-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
y |
float | y-axis coordinate y-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
width |
float | width of the element in pixels |
height |
float | height of the element in pixels |
‘top_stories’ element in SERP | ||
type |
string | type of element = ‘top_stories’ |
rank_group |
integer | group rank in SERP position within a group of elements with identical type valuespositions of elements with different type values are omitted from rank_group |
rank_absolute |
integer | absolute rank in SERP absolute position among all the elements in SERP |
position |
string | the alignment of the element in SERP can take the following values: left , right |
xpath |
string | the XPath of the element |
items |
array | additional items present in the element if there are none, equals null |
type |
string | type of element = ‘top_stories_element‘ |
source |
string | source of the element indicates the source of information included in the top_stories_element |
domain |
string | domain in SERP |
title |
string | title of the result in SERP |
date |
string | the date when the page source of the element was published |
amp_version |
boolean | Accelerated Mobile Pages indicates whether an item has the Accelerated Mobile Page (AMP) version |
timestamp |
string | date and time when the result was published in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00 |
url |
string | URL |
image_url |
string | URL of the image the URL leading to the image on the original resource or DataForSEO storage (in case the original source is not available) |
rectangle |
object | rectangle parameters contains cartesian coordinates and pixel dimensions of the result’s snippet in SERP note: calculate_rectangles parameter is not yet available when setting tasks for Yahoo search engine, that’s why rectangle always equals null |
x |
float | x-axis coordinate x-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
y |
float | y-axis coordinate y-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
width |
float | width of the element in pixels |
height |
float | height of the element in pixels |
‘hotels_pack’ element in SERP | ||
type |
string | type of element = ‘hotels_pack’ |
rank_group |
integer | group rank in SERP position within a group of elements with identical type valuespositions of elements with different type values are omitted from rank_group |
rank_absolute |
integer | absolute rank in SERP absolute position among all the elements in SERP |
position |
string | the alignment of the element in SERP can take the following values: left , right |
xpath |
string | the XPath of the element |
title |
string | title of the result in SERP |
date_from |
string | starting date of stay in the format “year-month-date” example: 2019-11-15 |
date_to |
string | ending date of stay in the format “year-month-date” example: 2019-11-17 |
items |
array | contains results featured in the ‘hotels_pack’ element of SERP |
type |
string | type of element = ‘hotels_pack_element’ |
price |
object | price of booking a place for the specified dates of stay |
current |
float | current price indicates the current price of booking a place for the specified dates of stay |
regular |
float | regular price indicates the regular price of booking a place for the specified dates of stay |
max_value |
float | the maximum price the maximum price of booking a place for the specified dates of stay |
currency |
string | currency of the listed price ISO code of the currency applied to the price |
is_price_range |
boolean | price is provided as a range indicates whether a price is provided in a range |
displayed_price |
string | price string in the result raw price string as provided in the result |
title |
string | title of the place |
desription |
string | description of the place in SERP |
hotel_identifier |
string | unique hotel identifier unique hotel identifier; example: "CgoIjaeSlI6CnNpVEAE" |
domain |
string | domain in SERP |
url |
string | relevant URL |
is_paid |
boolean | indicates whether the element is an ad |
rating |
object | the item’s rating the popularity rate based on reviews and displayed in SERP |
rating_type |
string | the type of rating here you can find the following elements: Max5 , Percents , CustomMax |
value |
float | the value of the rating |
votes_count |
integer | the amount of feedback |
rating_max |
integer | the maximum value for a rating_type |
rectangle |
object | rectangle parameters contains cartesian coordinates and pixel dimensions of the result’s snippet in SERP note: calculate_rectangles parameter is not yet available when setting tasks for Yahoo search engine, that’s why rectangle always equals null |
x |
float | x-axis coordinate x-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
y |
float | y-axis coordinate y-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
width |
float | width of the element in pixels |
height |
float | height of the element in pixels |
‘local_pack’ element in SERP | ||
type |
string | type of element = ‘local_pack’ |
rank_group |
integer | group rank in SERP position within a group of elements with identical type valuespositions of elements with different type values are omitted from rank_group |
rank_absolute |
integer | absolute rank in SERP absolute position among all the elements in SERP |
position |
string | the alignment of the element in SERP can take the following values: left , right |
xpath |
string | the XPath of the element |
title |
string | title of the result in SERP |
description |
string | description of the results element in SERP |
domain |
string | domain in SERP |
phone |
string | phone number |
url |
string | relevant URL |
is_paid |
boolean | indicates whether the element is an ad |
rating |
object | the item’s rating the popularity rate based on reviews and displayed in SERP |
rating_type |
string | the type of rating here you can find the following elements: Max5 , Percents , CustomMax |
value |
float | the value of the rating |
votes_count |
integer | the amount of feedback |
rating_max |
integer | the maximum value for a rating_type |
cid |
string | client id unique id of a local establishment |
rectangle |
object | rectangle parameters contains cartesian coordinates and pixel dimensions of the result’s snippet in SERP note: calculate_rectangles parameter is not yet available when setting tasks for Yahoo search engine, that’s why rectangle always equals null |
x |
float | x-axis coordinate x-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
y |
float | y-axis coordinate y-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
width |
float | width of the element in pixels |
height |
float | height of the element in pixels |
‘recipes’ element in SERP | ||
type |
string | type of element = ‘recipes’ |
rank_group |
integer | group rank in SERP position within a group of elements with identical type valuespositions of elements with different type values are omitted from rank_group |
rank_absolute |
integer | absolute rank in SERP absolute position among all the elements in SERP |
position |
string | the alignment of the element in SERP can take the following values: left , right |
xpath |
string | the XPath of the element |
items |
array | additional items present in the element if there are none, equals null |
type |
string | type of element = ‘recipes_element‘ |
title |
string | title of the item |
url |
string | recipes_element URL |
domain |
string | domain in SERP |
source |
string | source of the element indicates the source of information included in the recipes_element |
description |
string | snippet of the element |
time |
string | the total time it takes to prepare the cook the dish |
rating |
object | the item’s rating the popularity rate based on reviews and displayed in SERP |
rating_type |
string | the type of rating here you can find the following elements: Max5 , Percents , CustomMax |
value |
float | the value of the rating |
votes_count |
integer | the amount of feedback |
rating_max |
integer | the maximum value for a rating_type |
rectangle |
object | rectangle parameters contains cartesian coordinates and pixel dimensions of the result’s snippet in SERP note: calculate_rectangles parameter is not yet available when setting tasks for Yahoo search engine, that’s why rectangle always equals null |
x |
float | x-axis coordinate x-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
y |
float | y-axis coordinate y-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
width |
float | width of the element in pixels |
height |
float | height of the element in pixels |
‘people_also_ask’ element in SERP | ||
type |
string | type of element = ‘people_also_ask’ |
rank_group |
integer | group rank in SERP position within a group of elements with identical type valuespositions of elements with different type values are omitted from rank_group |
rank_absolute |
integer | absolute rank in SERP absolute position among all the elements in SERP |
position |
string | the alignment of the element in SERP can take the following values: left , right |
xpath |
string | the XPath of the element |
items |
array | additional items present in the element if there are none, equals null |
type |
string | type of element = ‘people_also_ask_element‘ |
title |
string | title of the result in SERP |
xpath |
string | the XPath of the element |
expanded_element |
array | expanded element |
type |
string | type of element = ‘people_also_ask_expanded_element‘ |
featured_title |
string | title |
url |
string | relevant URL |
domain |
string | domain in SERP |
title |
string | title of the result in SERP |
description |
string | description of the results element in SERP |
timestamp |
string | date and time when the result was published in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00 |
table |
object | results table if there are none, equals null |
table_header |
array | column names |
table_content |
array | the content of the table one line of the table in this element of the array |
rectangle |
object | rectangle parameters contains cartesian coordinates and pixel dimensions of the result’s snippet in SERP note: calculate_rectangles parameter is not yet available when setting tasks for Yahoo search engine, that’s why rectangle always equals null |
x |
float | x-axis coordinate x-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
y |
float | y-axis coordinate y-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
width |
float | width of the element in pixels |
height |
float | height of the element in pixels |
‘related_searches’ element in SERP | ||
type |
string | type of element = ‘related_searches’ |
rank_group |
integer | group rank in SERP position within a group of elements with identical type valuespositions of elements with different type values are omitted from rank_group |
rank_absolute |
integer | absolute rank in SERP absolute position among all the elements in SERP |
position |
string | the alignment of the element in SERP can take the following values: left , right |
xpath |
string | the XPath of the element |
items |
array | additional items present in the element if there are none, equals null |
rectangle |
object | rectangle parameters contains cartesian coordinates and pixel dimensions of the result’s snippet in SERP note: calculate_rectangles parameter is not yet available when setting tasks for Yahoo search engine, that’s why rectangle always equals null |
x |
float | x-axis coordinate x-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
y |
float | y-axis coordinate y-axis coordinate of the top-left corner of the result’s snippet, where top-left corner of the screen is the origin |
width |
float | width of the element in pixels |
height |
float | height of the element in pixels |